package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用车记录对象 user_record
 * 
 * @author ruoyi
 * @date 2020-06-27
 */
public class UserRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用车表id */
    private Long ucarId;

    /** 汽车id */
    @Excel(name = "汽车id")
    private Long carId;

    /** 员工id */
    @Excel(name = "员工id")
    private Long staffId;


    private String carVin;

    private String carNum;

    private String deptName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public void setUcarId(Long ucarId)
    {
        this.ucarId = ucarId;
    }

    public Long getUcarId() 
    {
        return ucarId;
    }
    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setCarVin(String carVin) 
    {
        this.carVin = carVin;
    }

    public String getCarVin() 
    {
        return carVin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ucarId", getUcarId())
            .append("carId", getCarId())
            .append("staffId", getStaffId())
            .append("carVin", getCarVin())
            .toString();
    }
}
